package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.TravelComment;
import cn.wolfcode.luowowo.comment.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

/**
 * 攻略评论服务
 */
public interface ITravelCommentService {

    /**
     * 添加更新
     */
    TravelComment saveOrUpdate(TravelComment comment);

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page query(TravelCommentQuery qo);

    Long getCount(Long travelId);
}
